package com.example.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Department {//部门表
    //编号
    @TableId(value = "department_id",type = IdType.AUTO)
    private Integer departmentId;
    //名称
    private String departmentName;
}
